package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalAppBindingDao;
import com.appkubes.portal.core.entity.PortalAppBinding;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalAppBindingService extends AbstractBaseService<BasePortalAppBindingDao, PortalAppBinding> {

    PortalAppBinding getOneByEntity(PortalAppBinding entity);

    List<PortalAppBinding> selectListByEntity(PortalAppBinding entity);

    IPage<PortalAppBinding> selectPageByEntity(IPage<PortalAppBinding> page);
    IPage<PortalAppBinding> selectPageByEntity(PageVO pageVO);

    IPage<PortalAppBinding> selectPageByEntity(PortalAppBinding entity, IPage<PortalAppBinding> page);
    IPage<PortalAppBinding> selectPageByEntity(PortalAppBinding entity, PageVO pageVO);

    IPage<PortalAppBinding> selectPageByEntity(PortalAppBinding entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalAppBinding entity);
}
